<template>
	<div>
		<g-button>默认按钮</g-button>
		<g-button icon="settings">默认按钮</g-button>
		<g-button :loading="true">默认按钮</g-button>
		<g-button disabled>默认按钮</g-button>
		<icon2 name="good"></icon2>

		<pre>
		<code>{{content}}</code>
	</pre>
	</div>


</template>

<script>
    import Button from '../../../src/components/Button'
    import Icon2 from "../../../src/components/Icon2";
    import '../../../src/components/svg.js'


    export default {
        components: {
            Icon2,
            gButton: Button
        },
        data() {
            return {
                content:
                    `
              <g-button>默认按钮</g-button>
              <g-button icon="settings">默认按钮</g-button>
              <g-button :loading="true">默认按钮</g-button>
               <g-button disabled>默认按钮</g-button>
              `
            }
        }
    }
</script>

<style scoped lang="scss">

</style>